package com.pro.common.service.admin.enums;

import com.pro.framework.api.enums.IEnumStr;
import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum EnumGlueType implements IEnumStr {
    BEAN(0, "Spring Bean", "primary"),
    GLUE_GROOVY(1, "Groovy脚本", "success"),
    ;

    private final Integer value;
    private final String label;
    private final String color;

//    public static final Map<Integer, EnumGlueType> MAP = IEnumInt.getMap(values());
//
//    @Override
//    public EnumGlueType fromValueMap(Integer value) {
//        return MAP.get(value);
//    }
}
